[INFO] fetching crate near-client 0.1.1...
[INFO] checking near-client-0.1.1 against try#19b19c1ea5b23336f439d5f7be1cc1b3f1220bef for pr-112999
[INFO] extracting crate near-client 0.1.1 into /workspace/builds/worker-6-tc2/source
[INFO] validating manifest of crates.io crate near-client 0.1.1 on toolchain 19b19c1ea5b23336f439d5f7be1cc1b3f1220bef
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+19b19c1ea5b23336f439d5f7be1cc1b3f1220bef" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] started tweaking crates.io crate near-client 0.1.1
[INFO] finished tweaking crates.io crate near-client 0.1.1
[INFO] tweaked toml for crates.io crate near-client 0.1.1 written to /workspace/builds/worker-6-tc2/source/Cargo.toml
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+19b19c1ea5b23336f439d5f7be1cc1b3f1220bef" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]     Updating crates.io index
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+19b19c1ea5b23336f439d5f7be1cc1b3f1220bef" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:a420fdec406141845121210faa381f8029b0be6d4170deff7c4445a424f67918" "/opt/rustwide/cargo-home/bin/cargo" "+19b19c1ea5b23336f439d5f7be1cc1b3f1220bef" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 1e5ab01709a65bf154142785618e55c306c35bb0828dc3012b531c0b64ef7443
[INFO] running `Command { std: "docker" "start" "-a" "1e5ab01709a65bf154142785618e55c306c35bb0828dc3012b531c0b64ef7443", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "1e5ab01709a65bf154142785618e55c306c35bb0828dc3012b531c0b64ef7443", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "1e5ab01709a65bf154142785618e55c306c35bb0828dc3012b531c0b64ef7443", kill_on_drop: false }`
[INFO] [stdout] 1e5ab01709a65bf154142785618e55c306c35bb0828dc3012b531c0b64ef7443
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:a420fdec406141845121210faa381f8029b0be6d4170deff7c4445a424f67918" "/opt/rustwide/cargo-home/bin/cargo" "+19b19c1ea5b23336f439d5f7be1cc1b3f1220bef" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 76606fa6fa3f5fe3ce68b726c54a39d3e0ad981de21520c56c36dbde794166a8
[INFO] running `Command { std: "docker" "start" "-a" "76606fa6fa3f5fe3ce68b726c54a39d3e0ad981de21520c56c36dbde794166a8", kill_on_drop: false }`
[INFO] [stderr]    Compiling syn v2.0.22
[INFO] [stderr]    Compiling syn v1.0.109
[INFO] [stderr]    Compiling generic-array v0.14.7
[INFO] [stderr]     Checking parking_lot_core v0.9.8
[INFO] [stderr]    Compiling ahash v0.7.6
[INFO] [stderr]    Compiling getrandom v0.1.16
[INFO] [stderr]    Compiling num-traits v0.2.15
[INFO] [stderr]     Checking mio v0.8.8
[INFO] [stderr]     Checking parking_lot v0.12.1
[INFO] [stderr]     Checking signal-hook-registry v1.4.1
[INFO] [stderr]     Checking socket2 v0.4.9
[INFO] [stderr]     Checking openssl-sys v0.9.90
[INFO] [stderr]     Checking rand_core v0.5.1
[INFO] [stderr]     Checking hashbrown v0.11.2
[INFO] [stderr]    Compiling num-integer v0.1.45
[INFO] [stderr]    Compiling num-bigint v0.3.3
[INFO] [stderr]    Compiling arrayvec v0.7.4
[INFO] [stderr]    Compiling serde_json v1.0.99
[INFO] [stderr]     Checking digest v0.9.0
[INFO] [stderr]    Compiling hashbrown v0.14.0
[INFO] [stderr]    Compiling equivalent v1.0.0
[INFO] [stderr]    Compiling num-format v0.4.4
[INFO] [stderr]     Checking crypto-common v0.1.6
[INFO] [stderr]     Checking block-buffer v0.10.4
[INFO] [stderr]    Compiling num-rational v0.3.2
[INFO] [stderr]    Compiling heck v0.4.1
[INFO] [stderr]     Checking subtle v2.5.0
[INFO] [stderr]    Compiling indexmap v2.0.0
[INFO] [stderr]     Checking byteorder v1.4.3
[INFO] [stderr]    Compiling io-lifetimes v1.0.11
[INFO] [stderr]     Checking digest v0.10.7
[INFO] [stderr]    Compiling near-units-core v0.2.0
[INFO] [stderr]     Checking block-buffer v0.9.0
[INFO] [stderr]     Checking rand_chacha v0.2.2
[INFO] [stderr]    Compiling rustix v0.37.20
[INFO] [stderr]    Compiling convert_case v0.4.0
[INFO] [stderr]     Checking rand v0.7.3
[INFO] [stderr]     Checking sha2 v0.9.9
[INFO] [stderr]     Checking sha2 v0.10.7
[INFO] [stderr]    Compiling tempfile v3.6.0
[INFO] [stderr]     Checking time v0.1.45
[INFO] [stderr]     Checking linux-raw-sys v0.3.8
[INFO] [stderr]     Checking either v1.8.1
[INFO] [stderr]     Checking rand_chacha v0.3.1
[INFO] [stderr]     Checking base64 v0.20.0
[INFO] [stderr]     Checking itertools v0.10.5
[INFO] [stderr]     Checking fastrand v1.9.0
[INFO] [stderr]     Checking rand v0.8.5
[INFO] [stderr]    Compiling serde_derive v1.0.164
[INFO] [stderr]    Compiling tokio-macros v2.1.0
[INFO] [stderr]    Compiling openssl-macros v0.1.1
[INFO] [stderr]    Compiling zeroize_derive v1.4.2
[INFO] [stderr]    Compiling thiserror-impl v1.0.40
[INFO] [stderr]    Compiling serde_repr v0.1.12
[INFO] [stderr]    Compiling borsh-derive-internal v0.9.3
[INFO] [stderr]    Compiling borsh-schema-derive-internal v0.9.3
[INFO] [stderr]     Checking openssl v0.10.55
[INFO] [stderr]     Checking tokio v1.28.2
[INFO] [stderr]     Checking zeroize v1.3.0
[INFO] [stderr]     Checking thiserror v1.0.40
[INFO] [stderr]    Compiling strum_macros v0.24.3
[INFO] [stderr]    Compiling derive_more v0.99.17
[INFO] [stderr]    Compiling near-units-macro v0.2.0
[INFO] [stderr]     Checking near-units v0.2.0
[INFO] [stderr]     Checking native-tls v0.2.11
[INFO] [stderr]     Checking strum v0.24.1
[INFO] [stderr]     Checking serde v1.0.164
[INFO] [stderr]     Checking tokio-util v0.7.8
[INFO] [stderr]     Checking tokio-native-tls v0.3.1
[INFO] [stderr]     Checking h2 v0.3.20
[INFO] [stderr]     Checking curve25519-dalek v3.2.1
[INFO] [stderr]     Checking serde_urlencoded v0.7.1
[INFO] [stderr]     Checking chrono v0.4.26
[INFO] [stderr]    Compiling toml v0.5.11
[INFO] [stderr]    Compiling near-rpc-error-core v0.5.0
[INFO] [stderr]     Checking ed25519-dalek v1.0.1
[INFO] [stderr]     Checking x25519-dalek v1.2.0
[INFO] [stderr]     Checking hyper v0.14.27
[INFO] [stderr]    Compiling proc-macro-crate v0.1.5
[INFO] [stderr]    Compiling near-rpc-error-macro v0.5.0
[INFO] [stderr]    Compiling borsh-derive v0.9.3
[INFO] [stderr]     Checking borsh v0.9.3
[INFO] [stderr]     Checking hyper-tls v0.5.0
[INFO] [stderr]     Checking reqwest v0.11.18
[INFO] [stderr]     Checking near-account-id v0.15.0
[INFO] [stderr]     Checking near-account-id v0.5.0
[INFO] [stderr]     Checking near-vm-errors v3.1.0
[INFO] [stderr]     Checking near-primitives-core v0.15.0
[INFO] [stderr]     Checking near-client v0.1.1 (/opt/rustwide/workdir)
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `workspaces`
[INFO] [stdout]   --> tests/rpc.rs:13:5
[INFO] [stdout]    |
[INFO] [stdout] 13 | use workspaces::{network::Sandbox, types::SecretKey, AccountId, Worker};
[INFO] [stdout]    |     ^^^^^^^^^^ use of undeclared crate or module `workspaces`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0432]: unresolved import `workspaces`
[INFO] [stdout]   --> tests/rpc.rs:13:5
[INFO] [stdout]    |
[INFO] [stdout] 13 | use workspaces::{network::Sandbox, types::SecretKey, AccountId, Worker};
[INFO] [stdout]    |     ^^^^^^^^^^ use of undeclared crate or module `workspaces`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no function or associated item named `from_str` found for struct `near_client::crypto::dhx::SecretKey` in the current scope
[INFO] [stdout]   --> tests/rpc.rs:29:36
[INFO] [stdout]    |
[INFO] [stdout] 29 |     let workspaces_sk = SecretKey::from_str(&keypair).unwrap();
[INFO] [stdout]    |                                    ^^^^^^^^ function or associated item not found in `SecretKey`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `workspaces`
[INFO] [stdout]   --> tests/rpc.rs:65:5
[INFO] [stdout]    |
[INFO] [stdout] 65 |     workspaces::compile_project(target_path.as_str())
[INFO] [stdout]    |     ^^^^^^^^^^ use of undeclared crate or module `workspaces`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `workspaces`
[INFO] [stdout]   --> tests/rpc.rs:80:18
[INFO] [stdout]    |
[INFO] [stdout] 80 |     let worker = workspaces::sandbox().await.unwrap();
[INFO] [stdout]    |                  ^^^^^^^^^^ use of undeclared crate or module `workspaces`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `workspaces`
[INFO] [stdout]   --> tests/rpc.rs:95:18
[INFO] [stdout]    |
[INFO] [stdout] 95 |     let worker = workspaces::sandbox().await.unwrap();
[INFO] [stdout]    |                  ^^^^^^^^^^ use of undeclared crate or module `workspaces`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `workspaces`
[INFO] [stdout]    --> tests/rpc.rs:121:18
[INFO] [stdout]     |
[INFO] [stdout] 121 |     let worker = workspaces::sandbox().await.unwrap();
[INFO] [stdout]     |                  ^^^^^^^^^^ use of undeclared crate or module `workspaces`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `workspaces`
[INFO] [stdout]    --> tests/rpc.rs:158:18
[INFO] [stdout]     |
[INFO] [stdout] 158 |     let worker = workspaces::sandbox().await.unwrap();
[INFO] [stdout]     |                  ^^^^^^^^^^ use of undeclared crate or module `workspaces`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `workspaces`
[INFO] [stdout]    --> tests/rpc.rs:251:18
[INFO] [stdout]     |
[INFO] [stdout] 251 |     let worker = workspaces::sandbox().await.unwrap();
[INFO] [stdout]     |                  ^^^^^^^^^^ use of undeclared crate or module `workspaces`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `workspaces`
[INFO] [stdout]    --> tests/rpc.rs:300:18
[INFO] [stdout]     |
[INFO] [stdout] 300 |     let worker = workspaces::sandbox().await.unwrap();
[INFO] [stdout]     |                  ^^^^^^^^^^ use of undeclared crate or module `workspaces`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `workspaces`
[INFO] [stdout]    --> tests/rpc.rs:331:18
[INFO] [stdout]     |
[INFO] [stdout] 331 |     let worker = workspaces::sandbox().await.unwrap();
[INFO] [stdout]     |                  ^^^^^^^^^^ use of undeclared crate or module `workspaces`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `workspaces`
[INFO] [stdout]    --> tests/rpc.rs:353:18
[INFO] [stdout]     |
[INFO] [stdout] 353 |     let worker = workspaces::sandbox().await.unwrap();
[INFO] [stdout]     |                  ^^^^^^^^^^ use of undeclared crate or module `workspaces`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `workspaces`
[INFO] [stdout]    --> tests/rpc.rs:384:18
[INFO] [stdout]     |
[INFO] [stdout] 384 |     let worker = workspaces::sandbox().await.unwrap();
[INFO] [stdout]     |                  ^^^^^^^^^^ use of undeclared crate or module `workspaces`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `str::FromStr`
[INFO] [stdout]  --> tests/rpc.rs:1:22
[INFO] [stdout]   |
[INFO] [stdout] 1 | use std::{fs::write, str::FromStr};
[INFO] [stdout]   |                      ^^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 13 previous errors; 1 warning emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0432, E0433, E0599.
[INFO] [stdout] 
[INFO] [stdout] For more information about an error, try `rustc --explain E0432`.
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `near-client` (test "rpc") due to 14 previous errors; 1 warning emitted
[INFO] running `Command { std: "docker" "inspect" "76606fa6fa3f5fe3ce68b726c54a39d3e0ad981de21520c56c36dbde794166a8", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "76606fa6fa3f5fe3ce68b726c54a39d3e0ad981de21520c56c36dbde794166a8", kill_on_drop: false }`
[INFO] [stdout] 76606fa6fa3f5fe3ce68b726c54a39d3e0ad981de21520c56c36dbde794166a8
